package top.atcra.rpc.config.dto;

import top.atcra.rpc.config.CircuitBreakerConfig;
import top.atcra.rpc.config.ZookeeperConfig;

/**
 * 应用程序的配置类（POJO），对应于yml文件中的内容
 *
 * @author atcra
 * @date 2025-3-22
 */
public class AppConfigDTO {
    public String appName;
    public String groupName;
    public int port;
    public String registryUrl;
    public String subnetPrefix;

    public String serializer;
    public String compressor;
    public String loadBalancer;

    public int dataCenterId;
    public int clientId;
    public int maxWaitTimeMs;

    public int heartbeatIntervalMs;

    public ZookeeperConfig zookeeper;
    public CircuitBreakerConfig circuitBreaker;

}

